/* Based on Sublime Text's Monokai theme */
.cm-s-eclipse-monokai.CodeMirror { background: #272822; color: #f8f8f2; }
.cm-s-eclipse-monokai div.CodeMirror-selected { background: #49483E; }
.cm-s-eclipse-monokai .CodeMirror-line::selection, .cm-s-eclipse-monokai .CodeMirror-line > span::selection, .cm-s-eclipse-monokai .CodeMirror-line > span > span::selection { background: rgba(73, 72, 62, .99); }
.cm-s-eclipse-monokai .CodeMirror-line::-moz-selection, .cm-s-eclipse-monokai .CodeMirror-line > span::-moz-selection, .cm-s-eclipse-monokai .CodeMirror-line > span > span::-moz-selection { background: rgba(73, 72, 62, .99); }
.cm-s-eclipse-monokai .CodeMirror-gutters { background: #272822; border-right: 0px; }
.cm-s-eclipse-monokai .CodeMirror-guttermarker { color: white; }
.cm-s-eclipse-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
.cm-s-eclipse-monokai .CodeMirror-linenumber { color: #d0d0d0; }
.cm-s-eclipse-monokai .CodeMirror-cursor { border-left: 1px solid #f8f8f0; }

.cm-s-eclipse-monokai span.cm-comment { color: #75715e; }
.cm-s-eclipse-monokai span.cm-atom { color: #ae81ff; }
.cm-s-eclipse-monokai span.cm-number { color: #ae81ff; }

.cm-s-eclipse-monokai span.cm-comment.cm-attribute { color: #97b757; }
.cm-s-eclipse-monokai span.cm-comment.cm-def { color: #bc9262; }
.cm-s-eclipse-monokai span.cm-comment.cm-tag { color: #bc6283; }
.cm-s-eclipse-monokai span.cm-comment.cm-type { color: #5998a6; }

.cm-s-eclipse-monokai span.cm-property, .cm-s-eclipse-monokai span.cm-attribute { color: #a6e22e; }
.cm-s-eclipse-monokai span.cm-keyword { color: #f92672; }
.cm-s-eclipse-monokai span.cm-builtin { color: #66d9ef; }
.cm-s-eclipse-monokai span.cm-string { color: #e6db74; }

.cm-s-eclipse-monokai span.cm-variable { color: #f8f8f2; }
.cm-s-eclipse-monokai span.cm-variable-2 { color: #9effff; }
.cm-s-eclipse-monokai span.cm-variable-3, .cm-s-eclipse-monokai span.cm-type { color: #66d9ef; }
.cm-s-eclipse-monokai span.cm-def { color: #fd971f; }
.cm-s-eclipse-monokai span.cm-bracket { color: #f8f8f2; }
.cm-s-eclipse-monokai span.cm-tag { color: #f92672; }
.cm-s-eclipse-monokai span.cm-header { color: #ae81ff; }
.cm-s-eclipse-monokai span.cm-link { color: #ae81ff; }
.cm-s-eclipse-monokai span.cm-error { background: #f92672; color: #f8f8f0; }

.cm-s-eclipse-monokai .CodeMirror-activeline-background { background: #373831; }
.cm-s-eclipse-monokai .CodeMirror-matchingbracket {
  text-decoration: underline;
  color: white !important;
}

/*

    Name:       Base16 Default Dark
    Author:     Chris Kempson (http://chriskempson.com)

    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)

*/

.cm-s-base16.CodeMirror { background: #151515; color: #e0e0e0; }
.cm-s-base16 div.CodeMirror-selected { background: #303030; }
.cm-s-base16 .CodeMirror-line::selection, .cm-s-base16 .CodeMirror-line > span::selection, .cm-s-base16 .CodeMirror-line > span > span::selection { background: rgba(48, 48, 48, .99); }
.cm-s-base16 .CodeMirror-line::-moz-selection, .cm-s-base16 .CodeMirror-line > span::-moz-selection, .cm-s-base16 .CodeMirror-line > span > span::-moz-selection { background: rgba(48, 48, 48, .99); }
.cm-s-base16 .CodeMirror-gutters { background: #151515; border-right: 0px; }
.cm-s-base16 .CodeMirror-guttermarker { color: #ac4142; }
.cm-s-base16 .CodeMirror-guttermarker-subtle { color: #505050; }
.cm-s-base16 .CodeMirror-linenumber { color: #505050; }
.cm-s-base16 .CodeMirror-cursor { border-left: 1px solid #b0b0b0; }

.cm-s-base16 span.cm-comment { color: #8f5536; }
.cm-s-base16 span.cm-atom { color: #aa759f; }
.cm-s-base16 span.cm-number { color: #aa759f; }

.cm-s-base16 span.cm-property, .cm-s-base16 span.cm-attribute { color: #90a959; }
.cm-s-base16 span.cm-keyword { color: #ac4142; }
.cm-s-base16 span.cm-string { color: #f4bf75; }

.cm-s-base16 span.cm-variable { color: #90a959; }
.cm-s-base16 span.cm-variable-2 { color: #6a9fb5; }
.cm-s-base16 span.cm-def { color: #d28445; }
.cm-s-base16 span.cm-bracket { color: #e0e0e0; }
.cm-s-base16 span.cm-tag { color: #ac4142; }
.cm-s-base16 span.cm-link { color: #aa759f; }
.cm-s-base16 span.cm-error { background: #ac4142; color: #b0b0b0; }

.cm-s-base16 .CodeMirror-activeline-background { background: #202020; }
.cm-s-base16 .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }

/*
Name:   DuoTone-Dark
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)

CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
*/

.cm-s-duotone.CodeMirror { background: #2a2734; color: #6c6783; }
.cm-s-duotone div.CodeMirror-selected { background: #545167!important; }
.cm-s-duotone .CodeMirror-gutters { background: #2a2734; border-right: 0px; }
.cm-s-duotone .CodeMirror-linenumber { color: #545167; }

/* begin cursor */
.cm-s-duotone .CodeMirror-cursor { border-left: 1px solid #ffad5c; /* border-left: 1px solid #ffad5c80; */ border-right: .5em solid #ffad5c; /* border-right: .5em solid #ffad5c80; */ opacity: .5; }
.cm-s-duotone .CodeMirror-activeline-background { background: #363342; /* background: #36334280;  */ opacity: .5;}
.cm-s-duotone .cm-fat-cursor .CodeMirror-cursor { background: #ffad5c; /* background: #ffad5c80; */ opacity: .5;}
/* end cursor */

.cm-s-duotone span.cm-atom, .cm-s-duotone span.cm-number, .cm-s-duotone span.cm-keyword, .cm-s-duotone span.cm-variable, .cm-s-duotone span.cm-attribute, .cm-s-duotone span.cm-quote, .cm-s-duotone span.cm-hr, .cm-s-duotone span.cm-link { color: #ffcc99; }

.cm-s-duotone span.cm-property { color: #9a86fd; }
.cm-s-duotone span.cm-punctuation, .cm-s-duotone span.cm-unit, .cm-s-duotone span.cm-negative { color: #e09142; }
.cm-s-duotone span.cm-string { color: #ffb870; }
.cm-s-duotone span.cm-operator { color: #ffad5c; }
.cm-s-duotone span.cm-positive { color: #6a51e6; }

.cm-s-duotone span.cm-variable-2, .cm-s-duotone span.cm-variable-3, .cm-s-duotone span.cm-type, .cm-s-duotone span.cm-string-2, .cm-s-duotone span.cm-url { color: #7a63ee; }
.cm-s-duotone span.cm-def, .cm-s-duotone span.cm-tag, .cm-s-duotone span.cm-builtin, .cm-s-duotone span.cm-qualifier, .cm-s-duotone span.cm-header, .cm-s-duotone span.cm-em { color: #eeebff; }
.cm-s-duotone span.cm-bracket, .cm-s-duotone span.cm-comment { color: #6c6783; }

/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
.cm-s-duotone span.cm-error, .cm-s-duotone span.cm-invalidchar { color: #f00; }

.cm-s-duotone span.cm-header { font-weight: normal; }
.cm-s-duotone .CodeMirror-matchingbracket { text-decoration: underline; color: #eeebff !important; }

/*
  Name:       material
  Author:     Mattia Astorino (http://github.com/equinusocio)
  Website:    https://material-theme.site/
*/

.cm-s-neat-material-darker.CodeMirror {
  background-color: #212121;
  color: #EEFFFF;
}

.cm-s-neat-material-darker .CodeMirror-gutters {
  background: #212121;
  color: #545454;
  border: none;
}

.cm-s-neat-material-darker .CodeMirror-guttermarker,
.cm-s-neat-material-darker .CodeMirror-guttermarker-subtle,
.cm-s-neat-material-darker .CodeMirror-linenumber {
  color: #545454;
}

.cm-s-neat-material-darker .CodeMirror-cursor {
  border-left: 1px solid #FFCC00;
}

.cm-s-neat-material-darker div.CodeMirror-selected {
  background: rgba(97, 97, 97, 0.2);
}

.cm-s-neat-material-darker.CodeMirror-focused div.CodeMirror-selected {
  background: rgba(97, 97, 97, 0.2);
}

.cm-s-neat-material-darker .CodeMirror-line::selection,
.cm-s-neat-material-darker .CodeMirror-line>span::selection,
.cm-s-neat-material-darker .CodeMirror-line>span>span::selection {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-neat-material-darker .CodeMirror-line::-moz-selection,
.cm-s-neat-material-darker .CodeMirror-line>span::-moz-selection,
.cm-s-neat-material-darker .CodeMirror-line>span>span::-moz-selection {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-neat-material-darker .CodeMirror-activeline-background {
  background: rgba(0, 0, 0, 0.5);
}

.cm-s-neat-material-darker .cm-keyword {
  color: #C792EA;
}

.cm-s-neat-material-darker .cm-operator {
  color: #89DDFF;
}

.cm-s-neat-material-darker .cm-variable-2 {
  color: #EEFFFF;
}

.cm-s-neat-material-darker .cm-variable-3,
.cm-s-neat-material-darker .cm-type {
  color: #f07178;
}

.cm-s-neat-material-darker .cm-builtin {
  color: #FFCB6B;
}

.cm-s-neat-material-darker .cm-atom {
  color: #F78C6C;
}

.cm-s-neat-material-darker .cm-number {
  color: #FF5370;
}

.cm-s-neat-material-darker .cm-def {
  color: #82AAFF;
}

.cm-s-neat-material-darker .cm-string {
  color: #C3E88D;
}

.cm-s-neat-material-darker .cm-string-2 {
  color: #f07178;
}

.cm-s-neat-material-darker .cm-comment {
  color: #545454;
}

.cm-s-neat-material-darker .cm-variable {
  color: #f07178;
}

.cm-s-neat-material-darker .cm-tag {
  color: #FF5370;
}

.cm-s-neat-material-darker .cm-meta {
  color: #FFCB6B;
}

.cm-s-neat-material-darker .cm-attribute {
  color: #C792EA;
}

.cm-s-neat-material-darker .cm-property {
  color: #C792EA;
}

.cm-s-neat-material-darker .cm-qualifier {
  color: #DECB6B;
}

.cm-s-neat-material-darker .cm-variable-3,
.cm-s-neat-material-darker .cm-type {
  color: #DECB6B;
}


.cm-s-neat-material-darker .cm-error {
  color: rgba(255, 255, 255, 1.0);
  background-color: #FF5370;
}

.cm-s-neat-material-darker .CodeMirror-matchingbracket {
  text-decoration: underline;
  color: white !important;
}

/**
    Name: IntelliJ IDEA darcula theme
    From IntelliJ IDEA by JetBrains
 */

.cm-s-idea-darcula  { font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;}
.cm-s-idea-darcula.CodeMirror { background: #2B2B2B; color: #A9B7C6; }

.cm-s-idea-darcula span.cm-meta { color: #BBB529; }
.cm-s-idea-darcula span.cm-number { color: #6897BB; }
.cm-s-idea-darcula span.cm-keyword { color: #CC7832; line-height: 1em; font-weight: bold; }
.cm-s-idea-darcula span.cm-def { color: #A9B7C6; font-style: italic; }
.cm-s-idea-darcula span.cm-variable { color: #A9B7C6; }
.cm-s-idea-darcula span.cm-variable-2 { color: #A9B7C6; }
.cm-s-idea-darcula span.cm-variable-3 { color: #9876AA; }
.cm-s-idea-darcula span.cm-type { color: #AABBCC; font-weight: bold; }
.cm-s-idea-darcula span.cm-property { color: #FFC66D; }
.cm-s-idea-darcula span.cm-operator { color: #A9B7C6; }
.cm-s-idea-darcula span.cm-string { color: #6A8759; }
.cm-s-idea-darcula span.cm-string-2 { color: #6A8759; }
.cm-s-idea-darcula span.cm-comment { color: #61A151; font-style: italic; }
.cm-s-idea-darcula span.cm-link { color: #CC7832; }
.cm-s-idea-darcula span.cm-atom { color: #CC7832; }
.cm-s-idea-darcula span.cm-error { color: #BC3F3C; }
.cm-s-idea-darcula span.cm-tag { color: #629755; font-weight: bold; font-style: italic; text-decoration: underline; }
.cm-s-idea-darcula span.cm-attribute { color: #6897bb; }
.cm-s-idea-darcula span.cm-qualifier { color: #6A8759; }
.cm-s-idea-darcula span.cm-bracket { color: #A9B7C6; }
.cm-s-idea-darcula span.cm-builtin { color: #FF9E59; }
.cm-s-idea-darcula span.cm-special { color: #FF9E59; }
.cm-s-idea-darcula span.cm-matchhighlight { color: #FFFFFF; background-color: rgba(50, 89, 48, .7); font-weight: normal;}
.cm-s-idea-darcula span.cm-searching { color: #FFFFFF; background-color: rgba(61, 115, 59, .7); font-weight: normal;}

.cm-s-idea-darcula .CodeMirror-cursor { border-left: 1px solid #A9B7C6; }
.cm-s-idea-darcula .CodeMirror-activeline-background { background: #323232; }
.cm-s-idea-darcula .CodeMirror-gutters { background: #313335; border-right: 1px solid #313335; }
.cm-s-idea-darcula .CodeMirror-guttermarker { color: #FFEE80; }
.cm-s-idea-darcula .CodeMirror-guttermarker-subtle { color: #D0D0D0; }
.cm-s-idea-darcula .CodeMirrir-linenumber { color: #606366; }
.cm-s-idea-darcula .CodeMirror-matchingbracket { background-color: #3B514D; color: #FFEF28 !important; font-weight: bold; }

.cm-s-idea-darcula div.CodeMirror-selected { background: #214283; }

.CodeMirror-hints.idea-darcula {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  color: #9C9E9E;
  background-color: #3B3E3F !important;
}

.CodeMirror-hints.idea-darcula .CodeMirror-hint-active {
  background-color: #494D4E !important;
  color: #9C9E9E !important;
}

.CodeMirror-wrap {
  border-color: #555 !important;
}
